package com.iwunu.gateway.service;

import java.util.List;
import java.util.Map;

import com.iwunu.gateway.entity.FaceLock;
import com.iwunu.gateway.vo.FaceLockVo;
import com.iwunu.gateway.vo.LockUpdateVo;
import com.iwunu.gateway.vo.UserCmdIssuedVo;



public interface FaceLockService {
	FaceLock getFaceLockByUUID(Long lockId);
	FaceLock getFaceLockByMac(String mac);
	String save(FaceLockVo flVo,String ownerId);
	int del(Long lockId,String clientId);
	FaceLock update(FaceLock fl);
	FaceLock update(LockUpdateVo fl,Integer lockId);
	List<UserCmdIssuedVo> getUserCmdIssude(Map<String, Object> fl,Integer type);
	List<UserCmdIssuedVo> getUserImageData(Map<String, Object> fl);
	Map<String, Object>  getAdminImageData(String clientId, Integer currentPage,Integer pageSize,String name);
	Map<String, Object>  getAdminCmdIssude(Long lockId,String clientId,Integer currentPage,Integer pageSize,Integer type,String name);
	List<Map<String, Object>> selectRoleMembers(Integer lockId, Integer role);
	List<Map<String, Object>> selectMembers(Integer lockId);
}
